package com.java.multipledatasource.dao.entity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
/**
 * <p>
 * 人脸识别校验表
 * </p>
 *
 * @author huxb
 * @since 2020-10-18
 */
public class FaceRecognition extends Model<FaceRecognition> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 绑定的用户id（学生id，教师id）
     */
    private String userId;

    /**
     * 学校id
     */
    private String schoolId;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 用户数据状态（0:删除，1:正常）
     */
    private Integer userStatus;

    /**
     * 人脸路径
     */
    private String facePhoto;

    /**
     * 状态 0:无，1:成功，2:校验中，3:失败
     */
    private Integer faceStatus;

    /**
     * 失败原因
     */
    private String failReason;

    /**
     * 数据状态（0:删除，1:正常）
     */
    private Integer status;

    /**
     * 创建时间
     */
    private LocalDateTime createAt;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 更新时间
     */
    private LocalDateTime updateAt;

    /**
     * 更新人
     */
    private String updateBy;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public String getFacePhoto() {
        return facePhoto;
    }

    public void setFacePhoto(String facePhoto) {
        this.facePhoto = facePhoto;
    }

    public Integer getFaceStatus() {
        return faceStatus;
    }

    public void setFaceStatus(Integer faceStatus) {
        this.faceStatus = faceStatus;
    }

    public String getFailReason() {
        return failReason;
    }

    public void setFailReason(String failReason) {
        this.failReason = failReason;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getCreateAt() {
        return createAt;
    }

    public void setCreateAt(LocalDateTime createAt) {
        this.createAt = createAt;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(LocalDateTime updateAt) {
        this.updateAt = updateAt;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "FaceRecognition{" +
        ", id=" + id +
        ", userId=" + userId +
        ", schoolId=" + schoolId +
        ", userName=" + userName +
        ", userStatus=" + userStatus +
        ", facePhoto=" + facePhoto +
        ", faceStatus=" + faceStatus +
        ", failReason=" + failReason +
        ", status=" + status +
        ", createAt=" + createAt +
        ", createBy=" + createBy +
        ", updateAt=" + updateAt +
        ", updateBy=" + updateBy +
        "}";
    }
}
